<?php
class myClass{
	//code will go here
	var $name = "Matt";
	function myClass($n){
		$this->name = $n;
	}
	function sayHello(){
		echo "HELLO! My name is ".$this->name;
	}
}
class childClass extends myClass{
	//code goes here
	function sayHello(){
		echo "I will not tell you my name.";
	}
}
$object1 = new childClass("Babby Matt");
$object1->sayHello();

?>